<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>订单详情 | 社交商城</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --radius: 8px;
      
      /* 不同风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 订单详情页面容器 */
    .detail-page {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .detail-page.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 15px;
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    .back-btn {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
    }
    
    /* 订单状态卡片 */
    .status-card {
      padding: 16px 20px;
      background-color: rgba(79, 70, 229, 0.05);
      margin: 12px;
      border-radius: var(--radius);
      border-left: 4px solid var(--primary);
    }
    
    .status-title {
      font-weight: 600;
      font-size: 16px;
      margin-bottom: 6px;
      color: var(--primary);
    }
    
    .status-desc {
      font-size: 14px;
      color: var(--secondary);
    }
    
    /* 订单信息列表 */
    .info-section {
      margin: 12px;
      background-color: var(--white);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
    }
    
    .section-title {
      padding: 14px 16px;
      font-weight: 600;
      border-bottom: 1px solid var(--border);
      font-size: 15px;
    }
    
    .info-item {
      padding: 12px 16px;
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
    }
    
    .info-item:last-child {
      border-bottom: none;
    }
    
    .info-label {
      color: var(--secondary);
    }
    
    .info-value {
      text-align: right;
      flex: 1;
    }
    
    /* 商品列表 */
    .product-list {
      margin: 12px;
    }
    
    .product-item {
      display: flex;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
    }
    
    .product-item:last-child {
      border-bottom: none;
    }
    
    .product-image {
      width: 80px;
      height: 80px;
      border-radius: 6px;
      object-fit: cover;
      margin-right: 12px;
      background-color: var(--light);
    }
    
    .product-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .product-name {
      font-size: 15px;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .product-spec {
      font-size: 12px;
      color: var(--secondary);
      margin-bottom: 4px;
    }
    
    .product-price {
      font-size: 14px;
      color: var(--dark);
      font-weight: 500;
    }
    
    .product-quantity {
      font-size: 13px;
      color: var(--secondary);
      align-self: flex-end;
    }
    
    /* 金额信息 */
    .amount-section {
      margin: 12px;
      background-color: var(--white);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
    }
    
    .amount-item {
      padding: 10px 16px;
      display: flex;
      justify-content: space-between;
      font-size: 14px;
    }
    
    .amount-total {
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 600;
      color: var(--primary);
      background-color: rgba(0,0,0,0.01);
      border-top: 1px solid var(--border);
    }
    
    /* 物流信息 */
    .logistics-section {
      margin: 12px;
      background-color: var(--white);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
    }
    
    .logistics-content {
      padding: 16px;
    }
    
    .logistics-company {
      font-size: 15px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
    }
    
    .logistics-tracking {
      color: var(--primary);
      font-weight: 500;
    }
    
    .timeline {
      position: relative;
      padding-left: 24px;
      margin-top: 16px;
    }
    
    .timeline::before {
      content: '';
      position: absolute;
      left: 6px;
      top: 0;
      bottom: 0;
      width: 1px;
      background-color: var(--border);
    }
    
    .timeline-item {
      position: relative;
      margin-bottom: 20px;
    }
    
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    
    .timeline-dot {
      position: absolute;
      left: -24px;
      top: 3px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: var(--primary);
      z-index: 1;
    }
    
    .timeline-item:last-child .timeline-dot {
      background-color: var(--primary);
    }
    
    .timeline-content {
      font-size: 14px;
    }
    
    .timeline-time {
      font-size: 12px;
      color: var(--secondary);
      margin-top: 4px;
    }
    
    /* 操作按钮 */
    .action-buttons {
      padding: 16px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      border-top: 1px solid var(--border);
      margin-top: auto;
    }
    
    .action-btn {
      padding: 8px 20px;
      border-radius: 6px;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .btn-secondary {
      background-color: transparent;
      border: 1px solid var(--border);
      color: var(--dark);
    }
    
    .btn-primary {
      background-color: var(--primary);
      border: 1px solid var(--primary);
      color: white;
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    .style-1 .status-card {
      background-color: rgba(59, 130, 246, 0.05);
      border-left-color: var(--primary);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header {
      background-color: var(--primary);
      color: white;
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    .style-2 .header-btn,
    .style-2 .page-title,
    .style-2 .back-btn {
      color: white;
    }
    
    .style-2 .info-section,
    .style-2 .amount-section,
    .style-2 .logistics-section {
      border: none;
      box-shadow: 0 2px 8px rgba(236, 72, 153, 0.05);
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .info-section,
    .style-3 .amount-section,
    .style-3 .logistics-section {
      background-color: white;
      border: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .style-3 .btn-primary {
      background-color: rgba(16, 185, 129, 0.1);
      color: var(--primary);
      border: 1px solid var(--primary);
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .status-card {
      background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 100%);
    }
    
    .style-4 .product-image {
      border: 2px solid rgba(245, 158, 11, 0.2);
    }
    
    .style-4 .btn-primary {
      background: linear-gradient(90deg, var(--primary), #FBBF24);
      border: none;
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .amount-total {
      background-color: rgba(139, 92, 246, 0.03);
    }
    
    .style-5 .status-card {
      background-color: rgba(139, 92, 246, 0.05);
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container,
    .style-6 .page-header,
    .style-6 .info-section,
    .style-6 .amount-section,
    .style-6 .logistics-section,
    .style-6 .status-card {
      background-color: var(--white);
    }
    
    .style-6 .page-header,
    .style-6 .section-title,
    .style-6 .info-item,
    .style-6 .amount-total {
      border-color: var(--border);
    }
    
    .style-6 .header-btn,
    .style-6 .page-title,
    .style-6 .back-btn,
    .style-6 .info-value,
    .style-6 .product-name,
    .style-6 .product-price,
    .style-6 .amount-item,
    .style-6 .logistics-company,
    .style-6 .timeline-content {
      color: var(--dark);
    }
    
    .style-6 .btn-secondary {
      background-color: var(--light);
      border-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes scale {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }
    
    .scale-animation {
      animation: scale 0.3s ease;
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .product-image {
        width: 70px;
        height: 70px;
      }
      
      .action-btn {
        padding: 6px 16px;
        font-size: 13px;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择页面样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝订单详情页面 -->
    <div class="detail-page active" id="detail1">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">已完成</div>
        <div class="status-desc">订单已送达，感谢您的购买</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023051215487963</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-12 15:48:36</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付方式</div>
          <div class="info-value">微信支付</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付时间</div>
          <div class="info-value">2023-05-12 15:50:12</div>
        </div>
        <div class="info-item">
          <div class="info-label">交易流水号</div>
          <div class="info-value">4200001836202305128865479315</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">李先生</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">138****6789</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">北京市朝阳区建国路88号现代城5号楼2307室</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/160/200/200" alt="笔记本电脑" class="product-image">
          <div class="product-info">
            <div class="product-name">轻薄商务笔记本电脑</div>
            <div class="product-spec">配置：i5/8GB/512GB</div>
            <div class="product-price">¥5999.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥5999.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥0.00</div>
        </div>
        <div class="amount-item">
          <div>优惠券</div>
          <div>-¥100.00</div>
        </div>
        <div class="amount-total">
          <div>实付款</div>
          <div>¥5899.00</div>
        </div>
      </div>
      
      <div class="logistics-section">
        <div class="section-title">物流信息</div>
        <div class="logistics-content">
          <div class="logistics-company">
            <div>顺丰速运</div>
            <div class="logistics-tracking">SF1234567890123</div>
          </div>
          
          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-dot"></div>
              <div class="timeline-content">已送达，感谢您的使用，期待再次光临</div>
              <div class="timeline-time">2023-05-14 10:25:30</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">快递员【王师傅 138****5678】正在为您派送，请保持电话畅通</div>
              <div class="timeline-time">2023-05-14 08:12:15</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已到达【北京朝阳集散中心】</div>
              <div class="timeline-time">2023-05-13 19:45:22</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已发出，正在运输中</div>
              <div class="timeline-time">2023-05-12 18:30:45</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">商家已发货</div>
              <div class="timeline-time">2023-05-12 16:20:10</div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">再次购买</button>
        <button class="action-btn btn-primary">申请售后</button>
      </div>
    </div>
    
    <!-- 风格2：活力粉订单详情页面 -->
    <div class="detail-page" id="detail2">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">配送中</div>
        <div class="status-desc">您的订单正在配送途中，请耐心等待</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023051522367845</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-15 22:36:12</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付方式</div>
          <div class="info-value">支付宝</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付时间</div>
          <div class="info-value">2023-05-15 22:37:45</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">张女士</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">135****2345</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">上海市静安区南京西路1266号恒隆广场28楼</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/64/200/200" alt="连衣裙" class="product-image">
          <div class="product-info">
            <div class="product-name">夏季碎花连衣裙 收腰显瘦</div>
            <div class="product-spec">颜色：粉色 | 尺码：M</div>
            <div class="product-price">¥259.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
        <div class="product-item">
          <img src="https://picsum.photos/id/94/200/200" alt="口红" class="product-image">
          <div class="product-info">
            <div class="product-name">丝绒哑光口红 持久不脱色</div>
            <div class="product-spec">色号：#520 心动红</div>
            <div class="product-price">¥129.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥388.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥0.00</div>
        </div>
        <div class="amount-item">
          <div>满减优惠</div>
          <div>-¥30.00</div>
        </div>
        <div class="amount-total">
          <div>实付款</div>
          <div>¥358.00</div>
        </div>
      </div>
      
      <div class="logistics-section">
        <div class="section-title">物流信息</div>
        <div class="logistics-content">
          <div class="logistics-company">
            <div>圆通快递</div>
            <div class="logistics-tracking">YT8765432109876</div>
          </div>
          
          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-dot"></div>
              <div class="timeline-content">快递员【李师傅 139****8765】正在为您派送，请保持电话畅通</div>
              <div class="timeline-time">2023-05-16 09:15:30</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已到达【上海静安分部】</div>
              <div class="timeline-time">2023-05-16 07:30:22</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已发出，正在运输中</div>
              <div class="timeline-time">2023-05-16 03:45:10</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">商家已发货</div>
              <div class="timeline-time">2023-05-15 23:10:55</div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">联系客服</button>
        <button class="action-btn btn-primary">查看物流</button>
      </div>
    </div>
    
    <!-- 风格3：生态绿订单详情页面 -->
    <div class="detail-page" id="detail3">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">已完成</div>
        <div class="status-desc">订单已送达，感谢您的购买</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023051009123456</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-10 09:12:45</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付方式</div>
          <div class="info-value">微信支付</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付时间</div>
          <div class="info-value">2023-05-10 09:14:20</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">王先生</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">136****7890</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">广州市天河区珠江新城冼村路5号凯华国际中心15楼</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/188/200/200" alt="竹制餐具" class="product-image">
          <div class="product-info">
            <div class="product-name">天然竹制餐具套装</div>
            <div class="product-spec">包含：碗×2 筷×2 勺×2</div>
            <div class="product-price">¥69.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥69.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥8.00</div>
        </div>
        <div class="amount-item">
          <div>优惠券</div>
          <div>-¥5.00</div>
        </div>
        <div class="amount-total">
          <div>实付款</div>
          <div>¥72.00</div>
        </div>
      </div>
      
      <div class="logistics-section">
        <div class="section-title">物流信息</div>
        <div class="logistics-content">
          <div class="logistics-company">
            <div>中通快递</div>
            <div class="logistics-tracking">ZT9876543210123</div>
          </div>
          
          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-dot"></div>
              <div class="timeline-content">已送达，感谢您的使用</div>
              <div class="timeline-time">2023-05-12 15:30:45</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">快递员【陈师傅 137****4567】正在为您派送</div>
              <div class="timeline-time">2023-05-12 13:20:15</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已到达【广州天河集散中心】</div>
              <div class="timeline-time">2023-05-11 19:40:30</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">商家已发货</div>
              <div class="timeline-time">2023-05-10 16:05:20</div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">再次购买</button>
        <button class="action-btn btn-primary">评价商品</button>
      </div>
    </div>
    
    <!-- 风格4：温暖橙订单详情页面 -->
    <div class="detail-page" id="detail4">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">待付款</div>
        <div class="status-desc">请在23:45前完成支付，超时订单将自动取消</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023051620334567</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-16 20:45:12</div>
        </div>
        <div class="info-item">
          <div class="info-label">付款超时</div>
          <div class="info-value">2023-05-16 23:45:12</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">赵女士</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">139****3456</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">成都市锦江区红星路三段1号IFS国际金融中心22楼</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/431/200/200" alt="巧克力" class="product-image">
          <div class="product-info">
            <div class="product-name">进口巧克力礼盒 200g</div>
            <div class="product-spec">口味：混合装</div>
            <div class="product-price">¥168.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
        <div class="product-item">
          <img src="https://picsum.photos/id/292/200/200" alt="咖啡豆" class="product-image">
          <div class="product-info">
            <div class="product-name">精选咖啡豆 500g</div>
            <div class="product-spec">产地：哥伦比亚</div>
            <div class="product-price">¥90.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥258.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥12.00</div>
        </div>
        <div class="amount-item">
          <div>新用户优惠</div>
          <div>-¥20.00</div>
        </div>
        <div class="amount-total">
          <div>待付款</div>
          <div>¥250.00</div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">取消订单</button>
        <button class="action-btn btn-primary">立即付款</button>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫订单详情页面 -->
    <div class="detail-page" id="detail5">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">已完成</div>
        <div class="status-desc">订单已送达，感谢您的购买</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023050814567890</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-08 14:56:32</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付方式</div>
          <div class="info-value">支付宝</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付时间</div>
          <div class="info-value">2023-05-08 14:58:10</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">孙女士</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">137****8901</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">杭州市西湖区延安路353号嘉里中心3号楼1805室</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/342/200/200" alt="精华液" class="product-image">
          <div class="product-info">
            <div class="product-name">焕颜精华液 30ml</div>
            <div class="product-spec">功效：保湿修护</div>
            <div class="product-price">¥359.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥359.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥0.00</div>
        </div>
        <div class="amount-item">
          <div>会员折扣</div>
          <div>-¥35.90</div>
        </div>
        <div class="amount-total">
          <div>实付款</div>
          <div>¥323.10</div>
        </div>
      </div>
      
      <div class="logistics-section">
        <div class="section-title">物流信息</div>
        <div class="logistics-content">
          <div class="logistics-company">
            <div>韵达快递</div>
            <div class="logistics-tracking">YD1234567890123</div>
          </div>
          
          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-dot"></div>
              <div class="timeline-content">已送达，感谢您的使用</div>
              <div class="timeline-time">2023-05-10 11:20:30</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">快递员【郑师傅 136****2345】正在为您派送</div>
              <div class="timeline-time">2023-05-10 09:15:45</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已到达【杭州西湖分部】</div>
              <div class="timeline-time">2023-05-09 18:30:10</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">商家已发货</div>
              <div class="timeline-time">2023-05-08 16:40:25</div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">查看评价</button>
        <button class="action-btn btn-primary">申请售后</button>
      </div>
    </div>
    
    <!-- 风格6：商务黑订单详情页面 -->
    <div class="detail-page" id="detail6">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">订单详情</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-share-alt"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="status-card">
        <div class="status-title">配送中</div>
        <div class="status-desc">您的订单正在配送途中，请耐心等待</div>
      </div>
      
      <div class="info-section">
        <div class="section-title">订单信息</div>
        <div class="info-item">
          <div class="info-label">订单编号</div>
          <div class="info-value">2023051410234567</div>
        </div>
        <div class="info-item">
          <div class="info-label">下单时间</div>
          <div class="info-value">2023-05-14 10:23:56</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付方式</div>
          <div class="info-value">企业转账</div>
        </div>
        <div class="info-item">
          <div class="info-label">支付时间</div>
          <div class="info-value">2023-05-14 11:05:30</div>
        </div>
        <div class="info-item">
          <div class="info-label">发票信息</div>
          <div class="info-value">增值税专用发票</div>
        </div>
      </div>
      
      <div class="info-section">
        <div class="section-title">收货信息</div>
        <div class="info-item">
          <div class="info-label">收货人</div>
          <div class="info-value">刘先生</div>
        </div>
        <div class="info-item">
          <div class="info-label">联系电话</div>
          <div class="info-value">135****6789</div>
        </div>
        <div class="info-item">
          <div class="info-label">收货地址</div>
          <div class="info-value">深圳市福田区深南大道1000号平安金融中心55楼</div>
        </div>
      </div>
      
      <div class="section-title" style="margin: 0 12px;">商品信息</div>
      <div class="product-list">
        <div class="product-item">
          <img src="https://picsum.photos/id/160/200/200" alt="笔记本电脑" class="product-image">
          <div class="product-info">
            <div class="product-name">轻薄商务笔记本电脑</div>
            <div class="product-spec">配置：i7/16GB/512GB</div>
            <div class="product-price">¥7999.00</div>
          </div>
          <div class="product-quantity">x1</div>
        </div>
        <div class="product-item">
          <img src="https://picsum.photos/id/28/200/200" alt="钢笔" class="product-image">
          <div class="product-info">
            <div class="product-name">商务钢笔礼盒</div>
            <div class="product-spec">颜色：银色</div>
            <div class="product-price">¥299.00</div>
          </div>
          <div class="product-quantity">x2</div>
        </div>
      </div>
      
      <div class="amount-section">
        <div class="amount-item">
          <div>商品总价</div>
          <div>¥8597.00</div>
        </div>
        <div class="amount-item">
          <div>运费</div>
          <div>¥0.00</div>
        </div>
        <div class="amount-item">
          <div>企业采购优惠</div>
          <div>-¥597.00</div>
        </div>
        <div class="amount-total">
          <div>实付款</div>
          <div>¥8000.00</div>
        </div>
      </div>
      
      <div class="logistics-section">
        <div class="section-title">物流信息</div>
        <div class="logistics-content">
          <div class="logistics-company">
            <div>德邦快递</div>
            <div class="logistics-tracking">DB7654321098765</div>
          </div>
          
          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-dot"></div>
              <div class="timeline-content">包裹已到达【深圳福田集散中心】，准备派送</div>
              <div class="timeline-time">2023-05-15 08:45:30</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已发出，正在运输中</div>
              <div class="timeline-time">2023-05-14 23:10:20</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">包裹已到达【广州转运中心】</div>
              <div class="timeline-time">2023-05-14 18:25:15</div>
            </div>
            <div class="timeline-item">
              <div class="timeline-dot" style="background-color: var(--border);"></div>
              <div class="timeline-content">商家已发货</div>
              <div class="timeline-time">2023-05-14 14:30:40</div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="action-buttons">
        <button class="action-btn btn-secondary">联系客服</button>
        <button class="action-btn btn-primary">查看物流</button>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const detailPages = {
      1: document.getElementById('detail1'),
      2: document.getElementById('detail2'),
      3: document.getElementById('detail3'),
      4: document.getElementById('detail4'),
      5: document.getElementById('detail5'),
      6: document.getElementById('detail6')
    };
    const bodyElement = document.body;
    const backButtons = document.querySelectorAll('.back-btn');
    const actionButtons = document.querySelectorAll('.action-btn');
    
    // 初始化
    function init() {
      // 初始化按钮事件
      initActionButtons();
      
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 键盘导航切换样式
      document.addEventListener('keydown', function(e) {
        if (e.key === 'ArrowLeft') {
          let prev = currentStyle - 1;
          if (prev < 1) prev = 6;
          switchStyle(prev);
        } else if (e.key === 'ArrowRight') {
          let next = currentStyle + 1;
          if (next > 6) next = 1;
          switchStyle(next);
        }
      });
      
      // 返回按钮
      backButtons.forEach(btn => {
        btn.addEventListener('click', function() {
          // 返回上一页
          history.back();
        });
      });
    }
    
    // 初始化操作按钮
    function initActionButtons() {
      actionButtons.forEach(button => {
        button.addEventListener('click', function() {
          const actionText = this.textContent.trim();
          
          // 添加点击动画
          this.classList.add('scale-animation');
          setTimeout(() => {
            this.classList.remove('scale-animation');
          }, 300);
          
          // 根据按钮文本显示不同提示
          if (actionText === '立即付款') {
            alert('跳转到支付页面');
          } else if (actionText === '取消订单') {
            if (confirm('确定要取消订单吗？')) {
              alert('订单已取消');
            }
          } else if (actionText === '查看物流') {
            alert('查看物流详情');
          } else if (actionText === '申请售后') {
            alert('跳转到售后申请页面');
          } else if (actionText === '再次购买') {
            alert('添加商品到购物车');
          } else if (actionText === '评价商品') {
            alert('跳转到评价页面');
          } else if (actionText === '查看评价') {
            alert('查看商品评价');
          } else if (actionText === '联系客服') {
            alert('正在联系客服...');
          }
        });
      });
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(detailPages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      detailPages[style].classList.add('active');
    }
    
    // 启动
    init();
  </script>
</body>
</html>
